package com.duke.business.service.sb01;

import com.duke.business.service.sb01.demos.service.OrderService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class BusinessServiceSb01Application {

    public static void main(String[] args) {
        System.out.println("business-service-sb01 start 启动类执行...");
        SpringApplication.run(BusinessServiceSb01Application.class, args);


        System.out.println("business-service-sb01 start 启动类完成 ，开始执行创建订单业务...");
        // 调用业务服务
        OrderService orderService = new OrderService();
        orderService.createOrder("gaojy","12345");
    }

}
